<?php

namespace oneStep;
/**
 * Class Facade
 * @package oneStep
 */
abstract class Facade
{
    abstract protected static function getFacadeAccessor();

    public static function __callStatic($method, $args)
    {
        $class = static::getFacadeAccessor();
        $instance = new $class();
        return $instance->$method(...$args);
    }

}
